<template>
  <div class="mine-top-box">
    <van-icon name="scan" size="24px"/>
    <van-icon name="chat-o" size="24px" @click="toMessage"/>
    <van-icon name="search" size="24px" @click="toSearch"/>
  </div>
</template>

<script>
  export default {
    methods: {
      toMessage() {
        this.$router.push("/Message")
      },
      toSearch() {
        this.$router.push("/search")
      }
    },
  }
</script>

<style lang="scss" scoped>
.mine-top-box{
  padding: 10px 16px 10px 0;
  width: 100%;
  height: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  .van-icon{
    margin-left: 16px;
  }
}
</style>